package ebcs.scan.common.consts;

/**
 * @Description 常量类
 */
public class Const {

    public static final Integer MAXTIME = 60*60*3600;

    //初始页码
    public static final Integer INITPAGENUM = 1;
    //初始最大数
    public static final Integer INITPAGESIZE = 10;

    public static final String COMMIT = "COMMIT";//流程指令代码
    public static final String BACK = "BACK";

    /**
     * 缓存名称
     */
    public interface RedisCacheName{
        String TREEBASECATALOG = "treebasecatalog";
        String BASECATALOG = "basecatalog";
    }


    public interface Msg{
        String AUDITSUCCESS="审核成功";
        String SAVESUCCESS = "保存成功";
        String UPDATESUCCESS = "更新成功";
        String DELSUCCESS = "删除成功";
        String SELECTSUCCESS = "查询成功";
        String SAVEERROR = "保存失败";
        String UPDATEERROR= "更新失败";
        String DELERROR = "删除失败";
        String SELECTERROR = "查询失败";
        String NOACCESS = "无访问权限";
        String USERNOLOGIN = "未登录用户";
        String PARAMTERERROR = "参数错误";
        String DATAISUPDATE = "数据被更新，请刷新后重试！";
        String FILEFORMATERROR = "文件格式错误";
        String IMPORTSUCCESS = "导入成功";
        String FILEUPLOADSUCCESS = "附件上传成功";
        String ACCOUNTABNORMALITY = "积分账户异常";
        String DEFICIENCY = "余额不足";
        String PAYREPEAT = "支付重复";
        String OPERATIONSUCCESS = "操作成功";
        String OPERATIONERROR = "操作失败";
        String SUBMITSUCCESS = "提交成功";
        String SUBMITERROR = "提交失败";
        String NOPLANDETAILS = "无计划详情";
        String FILESAVEERROR = "附件保存失败";
        String NODATA = "没有数据";
        String RSUCCESS = "发布成功";
        String STATUSERROR = "状态错误";
        String NONITICEDATA = "没有绑定公告信息";
        String NOTICEERROR = "绑定公告信息错误";
        String CREATESUCCESS = "生成成功";
        String DATAERROR = "数据错误，请联系网站人员";
        String SECTIONSTATUSERROR = "标段状态错误";
        String DATAISNULL = "数据为空";
        String NOSID = "标段ID不能为空";
        String NOSTEPID = "步骤ID不能为空";
        String NOAPPROVALID = "项目ID不能为空";
        String SYSTEMERROR = "系统错误";
        String PRODUCTDATAISNULL = "产品信息为空";
        String FLOWERROR = "发起流程失败";
        String EXCUTEFLOWERROR = "执行流程失败";
        String REVOKESUCCESS = "撤回成功";
        String REVOKEERROR = "撤回失败";
        String NOMANAGER = "无计划负责人";
        String ANTHORFILEISNULL = "其他有利附件不能为空";
        String QUILITYISNULL = "无产品说明书或产品外观图";
        String PRODUCTIDORFIXEDPRODUCERS = "产品ID或修正厂家名称不能为空";
        String SUBMITSTATUSERROR = "提交状态错误";
        String ACSTATUSERROR  = "添加目录状态错误";
        String EOTJSTATUSERROR = "组建评委会状态错误";

    }

    /**
     * 计划状态
     */
    public interface PlanStatus{
        //1:草稿，2：已申报，3：计划驳回，4：正在招标，5：已完成，6：审批通过，7：正在立项
        Integer DRAFT = 1;
        Integer DECLARED = 2;
        Integer DISMISS = 3;
        Integer BID = 4;
        Integer COMPLETE = 5;
        Integer APPROVAL = 6;
        Integer PIUW = 7;
    }

    /**
     * 计划详情产地
     */
    public interface PlanDetailsHome{
        //1.不限，2.国产，3.进口
        Integer UNLIMITED  = 1;
        Integer DOMESTIC = 2;
        Integer IMPORTATION = 3;
    }

    /**
     * 证书状态
     */
    public interface codeStatus{
        String VALID="有效";
        String EXPIRE="将要过期";
        String LOSE="失效";

    }


    /**
     *
     */
    public interface ReviewStatus{
        //1.通过，2.驳回
        Integer PASS = 1;
        Integer REJECT = 2;
    }

    /**
     * 是否
     */
    public interface YesOrNo{
        Integer YES = 1;
        Integer NO = 2;
    }

    /**
     * 项目/标段状态
     */
    public interface ApprovalStatus{
        Integer BIDSCHEME = 1;//招标方案
        Integer BIDISSU = 2;//发标
        Integer BID = 3;//投标
        Integer OPEN = 4;//开标
        Integer BIDEVALUATION = 5;//评标
        Integer SCALING = 6;//定标
    }

    /**
     * 资金来源
     */
    public interface ApprovalSourceFunds{
        Integer SELFINACING = 1;//自筹资金
        Integer FAPPROPRATION = 2;//财政拨款
    }

    /**
     * 投标资质/产品状态
     */
    public interface TenderStatus{
        Integer NOTSUBMITTED = 1;//未提交
        Integer TOBEAUDITED = 2;//待审核
        Integer DOUBTEXISTS = 3;//存在疑义
        Integer BEYONDDEBATE = 4;//无疑义
    }

    /**
     * 资料类型 1:购标，2：投标
     */
    public interface QType{
        Integer ONE = 1;
        Integer TWO = 2;
    }

    /**
     * 缴纳购标费状态（参数父ID 129）
     */
    public interface PaymentStatus{
        Integer SAVE = 1;//保存
        Integer TOBEAUDUTED = 2;//待审核
        Integer PASS = 3;//审核通过
        Integer DISMISS = 4;//审核驳回
    }

    /**
     * //资质/产品操作状态（1撤回，2送审）
     */
    public interface OperationStatus{
        Integer ONE = 1;
        Integer TWO = 2;
    }

    /**
     * 产品报价操作状态（1、保存，2、提交，3、撤回）
     */
    public interface ProductOperationStatus{
        Integer ONE = 1;
        Integer TWO = 2;
        Integer THREE = 3;
    }

    /**
     * 产品资质类型
     */
    public interface QualityType{
        Integer FOUR = 4;//产品外观图
        Integer FIVE = 5;//产品说明书
    }


    /**
     * 角色编码
     */
    public interface RoleId{
        Integer ONE = 1;//管理员角色
        Integer TWO = 2;//业务组
    }

    /**
     * 是否参与评标
     */
    public interface DyBidStatus{
        Integer ONE = 1;//是
        Integer TWO = 2;//否
        Integer THREE = 3;//未筛选
    }

    /**
     * 组建评委会添加目录状态
     */
    public interface AcStatus{
        Integer NOCOMPLETE = 1;//未完成
        Integer COMPLETE = 2;//已完成

    }

    public interface SetCancelType{
        Integer SET = 1;//设定
        Integer CANCEL = 2;//撤销
    }

    /**
     * 启动状态
     */
    public interface StartStatus{
        Integer TOBEACTIVATED = 1;//待启动
        Integer ALREADYSTARTED = 2;//已启动/进行中
        Integer COMPLETE = 3;//已完成
    }



    /**
     * 专家主体资质-评议-评议项目
     */
    public interface AppraisalItems{
        Integer ONE = 1;//资质
        Integer TWO = 2;//投标保证金
        Integer THREE = 3;//最低资质要求
    }

    public interface Qualified{
        Integer YES = 1;
        Integer NO = 2;
    }

    /**
     * 评标目录状态
     */
    public interface BidCatalogStatus{
        Integer STARTBID = 1;//启动评标
        Integer DECONFIRMATION = 2;//确认直接入围
        Integer BTSCORING = 3;//商务/技术评分
        Integer PRICEGTADING = 4;//价格评分
        Integer BTSCROE= 5;//商务技术评分
        Integer SHOWREVIEW=6;//展示评审结果
        Integer WOCONFIRMATION = 7;//无异议确认
    }

    public interface psModel{
        Integer ONE = 1;//最低报价作为基准价
        Integer TWO = 2;//最大下浮率作为基准价
        Integer THREE = 3;//最大下浮率作为第一名
        Integer FOUR = 4;//平均价作为基准价
    }

    /**
     * 流程代码
     */
    public interface FlowCode{
        String D0001 = "D0001";//代理机构流程
        String G0001 = "G0001";//供应商投标主流程
        String Z0001 = "Z0001";//专家评审主流程
    }

    /**
     * 主节点编码
     */
    public interface HostNodeNumber{
        /**
         * 代理机构流程start
         */
        String D0001V1001 = "D0001V1001";//招标方案
        String D0001V1002 = "D0001V1002";//发标
        String D0001V1003 = "D0001V1003";//投标
        String D0001V1004 = "D0001V1004";//开标
        String D0001V1005 = "D0001V1005";//评标
        String D0001V1006 = "D0001V1006";//定标
        /**
         * 代理机构流程end
         */
        /**
         * 供应商流程start
         */
        String G0001V1001 = "G0001V1001";//领购文件
        String G0001V1002 = "G0001V1002";//投标
        String G0001V1003 = "G0001V1003";//开标
        String G0001V1004 = "G0001V1004";//查看结果
        /**
         * 供应商流程end
         */

        /**
         * 专家流程start
         */
        String Z0001V1001 = "Z0001V1001";//主体资质评审
        String Z0001V1002 = "Z0001V1002";//产品资质评审
        String Z0001V1003 = "Z0001V1003";//查看直接入围名单
        String Z0001V1004 = "Z0001V1004";//商务、技术评分
        String Z0001V1005 = "Z0001V1005";//查看价格评分
        String Z0001V1006 = "Z0001V1006";//确认评审结果
        /**
         * 专家流程end
         */
    }

    /**
     * 子节点编码
     */
    public interface ChildNodeNumber{
        /**
         * 代理机构流程start
         */
        String D0001V10011001 = "D0001V10011001";//招标立项
        String D0001V10011002 = "D0001V10011002";//新增标段
        String D0001V10021001 = "D0001V10021001";//招标公告编辑
        String D0001V10021002 = "D0001V10021002";//招标文件编辑
        String D0001V10021003 = "D0001V10021003";//报名审核与查看
        String D0001V10031001 = "D0001V10031001";//资质/产品申报审核
        String D0001V10031002 = "D0001V10031002";//产品厂家修正
        String D0001V10041001 = "D0001V10041001";//开标
        String D0001V10041002 = "D0001V10041002";//查看开标记录
        String D0001V10051001 = "D0001V10051001";//评标前准备
        String D0001V10051002 = "D0001V10051002";//评标
        String D0001V10061001 = "D0001V10061001";//入围名单公示
        String D0001V10061002 = "D0001V10061002";//远程议价
        String D0001V10061003 = "D0001V10061003";//发布中标结果
        String D0001V10061004 = "D0001V10061004";//代理费、保证金查看
        String D0001V10061005 = "D0001V10061005";//资料归档

        /**
         * 供应商start
         */
        String G0001V10011001 = "G0001V10011001";//投标报名
        String G0001V10011002 = "G0001V10011002";//缴纳购标费用
        String G0001V10011003 = "G0001V10011003";//下载招标文件
        String G0001V10021001 = "G0001V10021001";//资质/产品申报
        String G0001V10021002 = "G0001V10021002";//产品报价
        String G0001V10021003 = "G0001V10021003";//缴纳保证金
        String G0001V10031001 = "G0001V10031001";//开标
        String G0001V10031002 = "G0001V10031002";//查看开标记录
        String G0001V10041001 = "G0001V10041001";//查看入围名单
        String G0001V10041002 = "G0001V10041002";//议价
        String G0001V10041003 = "G0001V10041003";//查看中标结果
        String G0001V10041004 = "G0001V10041004";//缴纳代理服务费
        String G0001V10041005 = "G0001V10041005";//领取通知书、退还保证金

        /**
         * 专家start
         *
         */
        String Z0001V10041001 = "Z0001V10041001";//商务评分
        String Z0001V10041002 = "Z0001V10041002";//技术评分

    }


}
